package com.zhuangfei.hpuhelper.view;

import android.annotation.TargetApi;
import android.app.Application;
import android.content.Context;
import android.os.StrictMode;
import android.support.multidex.MultiDex;
import android.widget.Toast;

import com.tencent.bugly.Bugly;
import com.tencent.bugly.beta.Beta;
import com.tencent.bugly.beta.interfaces.BetaPatchListener;
import com.tencent.tinker.loader.app.TinkerApplication;
import com.tencent.tinker.loader.shareutil.ShareConstants;

import java.util.Locale;

/**
 * Created by Liu ZhuangFei on 2018/3/7.
 */

public class MyApplication extends TinkerApplication {
    private static MyApplication instance;

    public MyApplication(){
        super(ShareConstants.TINKER_ENABLE_ALL, "com.zhuangfei.hpuhelper.view.MyApplicationLike",
                "com.tencent.tinker.loader.TinkerLoader", false);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance=this;
    }

    public static MyApplication getInstance(){
        return instance;
    }

}
